package org.jeecg.modules.jxc.sales_management.salelist_Search.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jxc_sale_list
 * @Author: jeecg-boot
 * @Date:   2021-12-20
 * @Version: V1.0
 */
@Data
@TableName("jxc_sale_list")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jxc_sale_list对象", description="jxc_sale_list")
public class JxcSaleList implements Serializable {
    private static final long serialVersionUID = 1L;

	/**销售单id，主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "销售单id，主键")
    private String id;
	/**销售单号*/
	@Excel(name = "销售单号", width = 15)
    @ApiModelProperty(value = "销售单号")
    private String saleNumber;
	/**销售单创建日期*/
	@Excel(name = "销售单创建日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "销售单创建日期")
    private Date saleDate;
	/**客户*/
	@Excel(name = "客户", width = 15)
    @ApiModelProperty(value = "客户")
    private Integer customerId;
	/**实付金额*/
	@Excel(name = "实付金额", width = 15)
    @ApiModelProperty(value = "实付金额")
    private Double amounjxcPaid;
	/**销售金额*/
	@Excel(name = "销售金额", width = 15)
    @ApiModelProperty(value = "销售金额")
    private Double amounjxcPayable;
	/**操作员*/
	@Excel(name = "操作员", width = 15)
    @ApiModelProperty(value = "操作员")
    private Integer userId;
	/**是否付款*/
	@Excel(name = "是否付款", width = 15)
    @ApiModelProperty(value = "是否付款")
    private Integer state;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
}
